<?php



class ExamfisMapBuilder {

	
	const CLASS_NAME = 'lib.model.map.ExamfisMapBuilder';

	
	private $dbMap;

	
	public function isBuilt()
	{
		return ($this->dbMap !== null);
	}

	
	public function getDatabaseMap()
	{
		return $this->dbMap;
	}

	
	public function doBuild()
	{
		$this->dbMap = Propel::getDatabaseMap('propel');

		$tMap = $this->dbMap->addTable('examfis');
		$tMap->setPhpName('Examfis');

		$tMap->setUseIdGenerator(true);

		$tMap->setPrimaryKeyMethodInfo('examfis_SEQ');

		$tMap->addPrimaryKey('ID', 'Id', 'int', CreoleTypes::INTEGER, true, null);

		$tMap->addForeignKey('NUMHISTORIA', 'Numhistoria', 'int', CreoleTypes::INTEGER, 'historia', 'NUMHISTORIA', true, null);

		$tMap->addColumn('TA', 'Ta', 'int', CreoleTypes::INTEGER, false, null);

		$tMap->addColumn('PULSO', 'Pulso', 'int', CreoleTypes::INTEGER, false, null);

		$tMap->addColumn('FC', 'Fc', 'int', CreoleTypes::INTEGER, false, null);

		$tMap->addColumn('FRESP', 'Fresp', 'int', CreoleTypes::INTEGER, false, null);

		$tMap->addColumn('PESO', 'Peso', 'int', CreoleTypes::INTEGER, false, null);

		$tMap->addColumn('TALLA', 'Talla', 'int', CreoleTypes::INTEGER, false, null);

	} 
} 